package flinkemp;

import org.apache.flink.streaming.api.datastream.DataStreamSource;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

public class EmpApplication {
    public static void main(String[] args) throws Exception{
        StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
        DataStreamSource<Emp> empDataStreamSource = env.addSource(new EmpFun());
        empDataStreamSource.print();
        env.execute();
    }
}
